package cn.tedu.boot11.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

   @Controller
public class TestController {
    @RequestMapping("/test")
    @ResponseBody
    public String test(){
        return "测试成功!";
    }
}
